package com.kgc.xsProvider.dao;

import com.kgc.basic.util.ResponseMsg;
import com.kgc.xs.pojo.CustomerSummary;
import com.kgc.xs.pojo.TimeSummary;
import com.kgc.xs.pojo.TimeSummary1;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

public interface SalesOrderSummaryMapper {

    //按客户汇总
    List<CustomerSummary> selectSummaryByCustomer(@RequestBody Map<String, Object> map);

    //按月份汇总
    List<TimeSummary> selectSummaryByMonthTime(@RequestBody Map<String, Object> map);

    //按年份汇总
    List<TimeSummary1> selectSummaryByYearTime(@RequestBody Map<String, Object> map);

    Map<String,Object> getTotalSalesDataByDate();

    Map<String,Object> getSalesOutBoundDataByTime();

    Map<String,Object> getReceivableDataByTime();

    Map<String,Object> getSalesReturnDataByTime();
}
